package com.jy.adscm.operation.purchase.mapper.mysql;

import com.jy.adscm.operation.purchase.bean.BasePurchase;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jy.adscm.operation.purchase.bean.PurchaseDept;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lzf
 * @since 2019-04-22
 */
public interface BasePurchaseMapper extends BaseMapper<BasePurchase> {
    /**
     * 根据用户id查询所属部门
     * @param id
     * @return
     */
   PurchaseDept queryIdByDept(@Param("id") Integer id);
}
